<template>
	<div id="about">
		<div class="item_one_div">
			<div class="one">
				<img src="../assets/蓝左.png">
				<span>确认订单</span>
			</div>

			<div class="item_div" v-for="item in addressList">
				<div class="item_top_div">
					<span>{{item.Name}}</span>
					<span class="tel_div">{{item.Tel}}</span>
				</div>
				<div class="item_bottom_div">
					<div class="item_bottom_left_div">
						<p>{{item.address}}</p>
					</div>
					<router-link to="/editaddress">
						<img v-for="url in item.img" :src="url" />
					</router-link>

				</div>
			</div>
		</div>
		<div class="item_div1" v-for="item in dataList">
			<div class="item_top_div1">
				<span>{{item.shopName}}</span>
			</div>
			<div class="item_bottom_div1" v-for="item1 in item.datalist">
				<div class="item_bottom_left_div1">
					<div class="item_bottom_left_one_div1">
						<img :src="item1.imgs" />
					</div>
					<div class="item_bottom_left_two_div1">
						<p>{{item1.guige}}</p>
						<p>￥{{item1.price}} x {{item1.num}}</p>
					</div>
				</div>
				<div class="item_bottom_right_div1">
					<p>￥{{item1.zong}}</p>
				</div>
			</div>
			<div class="item_bottom_bottom_div1">
				共计3件/1.4kg ﹀
			</div>
		</div>

		<div class="bottom_div">

			<div class="tab_div">
				实付金额￥62
				<router-link to="/qrzhifu"><button>提交订单</button></router-link>
			</div>

		</div>

	</div>

</template>

<script>
	export default {
		data() {
			return {
				addressList: [{
					"Name": "小慕",
					Tel: 18911023261,
					"address": "北京海淀区西三环北路 2号院 北京理工大学 国防科技园2号楼 10层",
					img: [require("../assets/right.png")]
				}],
				dataList: [{
					"shopName": "沃尔玛",
					datalist: [{
						"guige": "番茄250g/份",
						imgs: require("../assets/orders/icon_order.png"),
						price: 33.6,
						num: 3,
						zong: 99.9
					}, {
						"guige": "提子250g/份",
						imgs: require("../assets/orders/icon_order.png"),
						price: 33.6,
						num: 3,
						zong: 99.9

					}]

				}, ]
			}
		}
	}
</script>

<style>
	/* 单独给页面设置背景色 */

	#about {
		background-color: #f8f8f8;
		height: 100%;
		position: fixed;
		width: 100%;

	}
     .item_one_div{
     	background-image: linear-gradient(0deg, rgba(0,145,255,0.00) 4%, #0091FF 50%);
     }
	.one {
		background: #0091FF;
		height: 44px;
		width: 100%;
		line-height: 44px;
		display: flex;
		align-items: center;
	}
	.one :nth-child(1) {
		width: 9.3px;
		height: 16px;
		color: #B6B6B6;
		padding-left: 10px;
	}
	.one :nth-child(2) {
		text-align: center;
		font-size: 16px;
		flex: 1
	}

	.title_div {
		height: 44px;
		font-size: 16px;
		color: #333333;
		/* background-image: linear-gradient(0deg, rgba(0, 145, 255, 0.00) 4%, #0091FF 50%); */
		height: 200px;
		border-bottom-right-radius: 40%;
		border-bottom-left-radius: 40%;
		line-height: 44px;
		text-align: center;
	}

	.item_div {
		background: #FFFFFF;
		margin-top: 16px;
		margin-left: 18px;
		margin-right: 18px;
		border-radius: 4px;
		padding-left: 16px;
		padding-right: 16px;
		padding-bottom: 16px;
		background-image: linear-gradient(0deg, rgba(0, 145, 255, 0.00) 4%, #0091FF 50%);
	}

	.item_div .item_top_div {
		height: 54px;
		line-height: 54px;
		display: flex;
		justify-content: space-between;
	}

	.item_div .item_top_div :nth-child(1) {
		font-size: 16px;
		color: #333333;
	}

	.item_div .item_top_div :nth-child(2) {
		font-size: 14px;
		color: #999999;
		padding-right: 120px;
	}

	.item_div .item_bottom_div {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.item_div {

		background: #FFFFFF;

		margin-top: 16px;

		margin-left: 18px;

		margin-right: 18px;

		border-radius: 4px;

		padding-left: 16px;

		padding-right: 16px;

		padding-bottom: 16px;

	}



	.item_div .item_top_div {

		height: 54px;

		line-height: 54px;

		display: flex;

		justify-content: space-between;

	}



	.item_div .item_top_div :nth-child(1) {

		font-size: 16px;

		color: #333333;

	}


	.item_div1 {
		background: #FFFFFF;
		margin-bottom: 16px;
		margin-left: 18px;
		margin-right: 18px;
		border-radius: 4px;
		padding-left: 16px;
		padding-right: 16px;
		padding-bottom: 16px;
		margin-top: 16px;
	}

	.item_bottom_div1 {
		margin-bottom: 16px;
	}

	.item_bottom_bottom_div1 {
		margin-top: 16px;
		margin-left: 16px;
		margin-right: 16px;
		height: 28px;
		background: #F5F5F5;
		text-align: center;
		font-family: PingFangSC-Light;
		font-size: 14px;
		color: #999999;
		line-height: 28px;
	}

	.item_div1 .item_top_div1 {
		height: 54px;
		line-height: 54px;
		display: flex;
		justify-content: space-between;
	}

	.item_bottom_left_div1 {
		display: flex;
		justify-content: space-between;
	}

	.item_bottom_left_two_div1 :nth-child(1) {
		margin-bottom: 6px;
	}

	.item_div1 .item_top_div1 :nth-child(1) {
		font-size: 16px;
		color: #333;
	}

	.item_div1 .item_top_div1 :nth-child(2) {
		font-size: 14px;
		color: #999;
	}

	.item_div1 .item_bottom_div1 {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.item_div1 .item_bottom_div1 .item_bottom_left_div1 .item_bottom_left_one_div1 img {
		width: 46px;
		height: 46px;
		margin-right: 16px;
	}

	.item_div1 .item_bottom_div1 .item_bottom_left_div1 .item_bottom_left_two_div1 :nth-child(1) {
		font-family: PingFangSC-Medium;
		font-size: 14px;
		color: #333333;
		text-align: left;
	}

	.item_div1 .item_bottom_div1 .item_bottom_left_div1 .item_bottom_left_two_div1 :nth-child(2) {
		font-size: 14px;
		color: #E93B3B;
		margin-bottom: 2px;
	}

	.item_div1 .item_bottom_div1 .item_bottom_right_div1 :nth-child(1) {
		font-family: PingFangSC-Regular;
		font-size: 14px;
		color: #000000;
		text-align: right;
	}



	.bottom_div {
		background: white;
		height: 49px;
		position: fixed;
		bottom: 0;
		width: 100%;
		display: flex;
		text-align: center;
	}

	.bottom_div .tab_div {
		flex: 1;
		text-align: start;
		height: 49px;
		margin-left: 24px;
		font-size: 14px;
		color: #333333;
	}

	.tab_div button {
		line-height: 49px;
		background-color: #4FB0F9;
		color: white;
		border: none;
		border-radius: 4px;
		text-align: end;
		margin-left: 162px;
		padding-right: 22px;
		width: 98px;
	}
</style>
